package com.gitee.fsadmin.common.context;

import org.noear.solon.Solon;

/**
 * @author 六如
 */
public class SolonContext {

    public static <T> T getBean(Class<T> clazz) {
        return Solon.context().getBean(clazz);
    }

    public static <T> T getBean(String beanName) {
        return Solon.context().getBean(beanName);
    }

}
